﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WatiNCF.Logging;

namespace WatiNCF.Commands
{
    static class CommandManager
    {
        public static void Execute(ICommand command)
        {
            Logger.LogMessage(LogPriority.Normal, "Executing command {0}", command.GetType().Name);
            command.Execute();
            Logger.LogMessage(LogPriority.Normal, "Finished executing command {0}", command.GetType().Name);
        }
    }
}
